import Vue from "vue";
import Notify from "vant/lib/notify";
import "vant/lib/notify/style";

Vue.use(Notify);

// 给全局通知
Vue.prototype.$msg = (message = "成功", bgColor = '#1989fa') => Notify({ message, duration: 2000, background: bgColor });
